<div class="path">
    <i class="iconfont icon-shouye1"></i>
    <a href="{url('admin/default/welcome')}">开始</a> / 
    <a href="javascript:void(0);">运营商管理</a>
</div>
<div class="table-head fn-clear">
    <div class="fn-l">
    <form name="search" id="search" action="{url('region/index')}" method="post">
      关键字: <input class="input w300" datatype="*" type="text" name="name" value="{$name}" />
      <input type="submit" value="查找" class="button" />
    </form>
    </div>  
    <div class="fn-r">
            <a href="{url('region/edit')}" class="button button-blue">
                <i class="iconfont icon-tianjia"></i> 添加区域
            </a>
    </div>
</div>
<div class="m10">
<table class="table">
<thead>
    <tr>
        <th class="fn-tac w60">#</th>
        <th class="w200">区域名称</th>
        <th>备注</th>
        <th class="fn-tac w120">更新时间</th>
        <th class="fn-tac w100">操作</th>
    </tr>
</thead>
<tbody>
{loop $list $vo}
<tr>
    <td class="fn-tac">{$vo['id']}</td>
    <td>{$vo['name']}</td>
    <td>{$vo['about']}</td>
    <td class="fn-tac">{date('Y-m-d',$vo['uptime'])}</td>
    <td class="fn-tac tip">
    <a title="编辑" href="{url('region/edit',array(id=>$vo['id']))}">编辑</a> / 
    <a href="javascript:void(0);" class="del" title="删除" url="{url('region/index',array(id=>$vo['id'],act=>del))}">删除</a></td>
</tr>
{/loop}
</tbody>
</table>
<div id="page" class="fn-clear">{$pager}</div>
</div>
<script type="text/javascript">
Do('base','dialog',function(){
  $('.del').click(function(){$(this).del();});
})
</script>
